package com.min.service.impl;


import com.min.domain.WorldNews;
import com.min.mapper.WorldNewsMapper;
import com.min.service.WorldNewsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class WorldNewsServiceImpl implements WorldNewsService {

    @Autowired
    private WorldNewsMapper worldNewsMapperl;

    @Override
    public List<WorldNews> getWorldNews() {
        return worldNewsMapperl.getWorldNews();
    }
}
